package com.sunday.aomicaichang.ui.recharge;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.sunday.common.base.BaseActivity;
import com.sunday.aomicaichang.R;
import com.sunday.aomicaichang.ui.MainActivity;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by 刘涛 on 2017/6/8.
 */

public class RechargeSuccessActivity extends BaseActivity {


    @Bind(R.id.total_money)
    TextView totalMoney;
    @Bind(R.id.btn_go_pay)
    TextView btnGoPay;

    private String total_Money;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_recharge_success);
        ButterKnife.bind(this);
        total_Money=getIntent().getStringExtra("totalMoney");
        totalMoney.setText(total_Money);
    }

    @OnClick(R.id.back)
    void back(){
        intent=new Intent(mContext,SelectRechargeActivity.class);
        startActivity(intent);
    }


    @OnClick(R.id.btn_go_pay)
    void onClick(){
        intent=new Intent(mContext, MainActivity.class);
        startActivity(intent);
        finish();
    }

}
